var origin = process.env.VUE_APP_ORIGIN
console.log(origin)
if (!origin) {
    origin = location.origin.replace(/https?:\/\//, "")
    if (origin.substring(origin.length - 1, origin.length) === '/') {
         origin = origin.substring(0, origin.length - 1)
    }
}

export {
    origin
}
